﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IceScream.ViewModels.ProductIndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Ice cream - Product
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <div id="body_product" style="margin:0 auto">
      
      <% Html.RenderAction("LeftPage","Product"); %>


      <div id="seasonal">
        <div class="inner">
        <% foreach(var item in Model.ListProduct) { %>
          <div class="boxProduct">
            <div class="title_product"> <h2><%: item.Name %></h2> </div>
            <div class="img_product"> 
               <a href="<%: Url.Action("Details", new { id = item.Id }) %>"><img src="<%: item.Image %>" alt="<%: item.Name %>"/></a> 
            </div>
            <div class="desc_product"> <%: item.Description %></div>
          </div>

          <% } %>

        </div>
      </div>
      
      <div class="clear"> </div>
      <div id="seas">
        <div id="seas-one">
          <p>Men's</p>
          <p class="date">Collection</p>
        </div>
        <div id="seas-two">
          <p>Women's</p>
          <p class="date">Collection</p>
        </div>
        <div id="seas-three">
          <p>Teens</p>
          <p class="date">Collection</p>
        </div>
        <div class="clear"> </div>
      </div>
    </div>


</asp:Content>

